<?php
class StandardFormValuesSetter implements IFormValuesSetter{
	
	private $obj;
	
	public function __construct( ArrowCtrlDatasource $dataSource ){
		$this->obj = $dataSource->getData();
		
	}
	public function formGetFieldValue( $fieldName, $formId ){
		if(empty($this->obj))
			return false;
		return $this->obj[$fieldName];
	}
}
?>